package com.zhangzhan.gulimallorder.feign;

import com.zhangzhan.gulimallorder.vos.MemberCartVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/6/30 12:00
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {

    @ResponseBody
    @RequestMapping(value = "/getMemberCarts", method = RequestMethod.GET)
    public List<MemberCartVo> getMemberCarts();

}
